package com.ztesoft.web.baseconfig.db.po;

import java.util.List;

import com.ztesoft.framework.dto.AbstractDto;
import com.ztesoft.web.common.db.po.DmIndexInfoPO;

public class SubTablePO extends AbstractDto {
	private Integer sourceDataId;
	private Integer dbLinkId;// : "1"
	private String subDbUserName;
	private String relMapCols;// : "undefined,dm_plan_id,SEQ_NBR"
	private String subMapCols;// : "undefined,DM_STRATEGY_ID,STAFF_ID"
	private TableNamePO[] subTableNames;// :
	private String subTableName;// : "[{"type":"table","value":"dm_strategy"}]"
	private ColumnNamePO[] allColumns;
	private Integer isDelete;// 该源数据是不是被删除的
	
	// 表索引
	private List<DmIndexInfoPO> diiPOList;
	// 表索引，用于前台传递
	private String diiPOListStr;

	public String getDiiPOListStr() {
		return diiPOListStr;
	}

	public void setDiiPOListStr(String diiPOListStr) {
		this.diiPOListStr = diiPOListStr;
	}

	public List<DmIndexInfoPO> getDiiPOList() {
		return diiPOList;
	}

	public void setDiiPOList(List<DmIndexInfoPO> diiPOList) {
		this.diiPOList = diiPOList;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getSourceDataId() {
		return sourceDataId;
	}

	public void setSourceDataId(Integer sourceDataId) {
		this.sourceDataId = sourceDataId;
	}

	public ColumnNamePO[] getAllColumns() {
		return allColumns;
	}

	public void setAllColumns(ColumnNamePO[] allColumns) {
		this.allColumns = allColumns;
	}

	public Integer getDbLinkId() {
		return dbLinkId;
	}

	public String getSubDbUserName() {
		return subDbUserName;
	}

	public void setSubDbUserName(String subDbUserName) {
		this.subDbUserName = subDbUserName;
	}

	public void setDbLinkId(Integer dbLinkId) {
		this.dbLinkId = dbLinkId;
	}

	public String getRelMapCols() {
		return relMapCols;
	}

	public void setRelMapCols(String relMapCols) {
		this.relMapCols = relMapCols;
	}

	public String getSubMapCols() {
		return subMapCols;
	}

	public void setSubMapCols(String subMapCols) {
		this.subMapCols = subMapCols;
	}

	public TableNamePO[] getSubTableNames() {
		return subTableNames;
	}

	public void setSubTableNames(TableNamePO[] subTableNames) {
		this.subTableNames = subTableNames;
	}

	public String getSubTableName() {
		return subTableName;
	}

	public void setSubTableName(String subTableName) {
		this.subTableName = subTableName;
	}

}
